import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { resolve } from 'path'
import rollupOptions from './rollup.config.js'
// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()],
  resolve: {
    alias: {
      'useless/shared': resolve(__dirname, 'packages/shared/index.ts'),
      'useless/core': resolve(__dirname, 'packages/core/index.ts'),
    }
}})
